package com.hxh.component.business.common.api;/**
 * Created by hxh on 2017/8/4.
 */

import com.hxh.component.basicannotation.annotation.ApiServices;
import com.hxh.component.business.utils.Constant;

import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * 创建者：hxh
 * 时间：  2017/8/4
 * 描述：验证码接口
 */
@ApiServices(Constant.APIServicesTag.API_APISERVICES)
public interface SMSServices {

    @POST("sms/v1/sms_codes")
    Observable<Response<Void>> getVerityCode(@Body Request_GetVerityCode body);

     /** 活体人脸验证 新
     * @param body
     * @return
     */
    @POST("/common/v1/ocr/face-id-verify")
    Observable<String> verityFace(@Body String body);
}
